package com.loveazure.ui.action;

import java.awt.event.ActionEvent;

import com.loveazure.bll.Handler;
import com.loveazure.ui.LearnPanel;
import com.loveazure.ui.MainFrame.Status;

public class ReturnAction extends LearnPanelAction {

	private static final String RETURN = "返回";

	/**
	 * 
	 */
	private static final long serialVersionUID = 4800877957429943292L;

	public ReturnAction(LearnPanel panel) {
		super(panel, RETURN);
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		Handler.getInstance().getFrame().switchPanel(Status.CONFIG);
	}
}
